package cn.kgc.hotel.entity;

import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;

@Component
@Setter
@Getter
@Alias("Food")
//餐品实体类
public class Food {
    //餐品ID
    private Integer foodId;
    //餐品名称
    private String foodName;
    //餐品数量
    private Integer foodNum;
    //餐品介绍
    private String detail;
    //价格
    private double price;
    //餐品类型ID
    private Integer typeId;
    //餐品类型
    private FoodType foodType;


    //订餐数量
    private Integer reserveFoodNum;
}
